angular.module('Common').config(['$stateProvider', '$urlRouterProvider',
    function($stateProvider, $urlRouterProvider) {
        $stateProvider.
            //可扩展枚举
            state('index.ExtendEnum', {
                url: '/ExtendEnum/Edit',
                templateUrl: 'modules/Common/client/views/ExtendEnum.client.view.html',
                controller: 'EntendEnumController',
                access: { requiredAuthentication: true }
            }).
            state('index.ExtendEnumById', {
                url: '/ExtendEnum/Edit/:id',
                templateUrl: 'modules/Common/client/views/ExtendEnum.client.view.html',
                controller: 'EntendEnumController',
                access: { requiredAuthentication: true }
            }).
            state('index.ExtendEnumList', {
                url: '/ExtendEnum/List',
                templateUrl: 'modules/Common/client/views/ExtendEnumList.client.view.html',
                controller:'EntendEnumListController',
                access: { requiredAuthentication: true }
            }).
            //参数设置
            state('index.Parameter', {
                url: '/Parameter/Edit',
                templateUrl: 'modules/Common/client/views/Parameter.client.view.html',
                controller:'ParameterController',
                access: { requiredAuthentication: true }
            }).
            //调度请求
            state('index.ScheduleRequest', {
                url: '/ScheduleRequest/Edit',
                templateUrl: 'modules/Common/client/views/ScheduleRequest.client.view.html',
                controller: 'ScheduleRequestController',
                access: { requiredAuthentication: true }
            }).
            state('index.ScheduleRequestById', {
                url: '/ScheduleRequest/Edit/:id',
                templateUrl: 'modules/Common/client/views/ScheduleRequest.client.view.html',
                controller: 'ScheduleRequestController',
                access: { requiredAuthentication: true }
            }).
            state('index.ScheduleRequestList', {
                url: '/ScheduleRequest/List',
                templateUrl: 'modules/Common/client/views/ScheduleRequestList.client.view.html',
                controller:'ScheduleRequestListController',
                access: { requiredAuthentication: true }
            }).
            //调度方案
            state('index.ScheduleProgram', {
                url: '/ScheduleProgram/Edit',
                templateUrl: 'modules/Common/client/views/ScheduleProgram.client.view.html',
                controller: 'ScheduleProgramController',
                access: { requiredAuthentication: true }
            }).
            state('index.ScheduleProgramById', {
                url: '/ScheduleProgram/Edit/:id',
                templateUrl: 'modules/Common/client/views/ScheduleProgram.client.view.html',
                controller: 'ScheduleProgramController',
                access: { requiredAuthentication: true }
            }).
            state('index.ScheduleProgramList', {
                url: '/ScheduleProgram/List',
                templateUrl: 'modules/Common/client/views/ScheduleProgramList.client.view.html',
                controller:'ScheduleProgramListController',
                access: { requiredAuthentication: true }
            }).
            //调度程序
            state('index.SchedulerList', {
                url: '/Scheduler/List',
                templateUrl: 'modules/Common/client/views/SchedulerList.client.view.html',
                controller:'SchedulerListController',
                access: { requiredAuthentication: true }
            });
    }
]);
